package com.jinxin.platform.cdfaceacs.mapper;


import com.jinxin.platform.cdfaceacs.pojo.domains.AcsControlBlockInfoDO;
import com.jinxin.platform.cdfaceacs.pojo.vo.AcsBlockStatInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface JurenAcsControlBlockInfoMapper {
    int deleteByPrimaryKey(String blockId);

    int insert(AcsControlBlockInfoDO record);

    int insertSelective(AcsControlBlockInfoDO record);

    AcsControlBlockInfoDO selectByPrimaryKey(String blockId);

    AcsControlBlockInfoDO selectOne(HashMap param);

    int updateByPrimaryKeySelective(AcsControlBlockInfoDO record);

    int updateByPrimaryKey(AcsControlBlockInfoDO record);

    List<Map> selAllBlock();

    List<AcsControlBlockInfoDO> selAllTable(@Param("blockName") String blockName, @Param("community") String community);

    List<AcsControlBlockInfoDO> selDOByInfo(AcsControlBlockInfoDO record);

    List<Map> selAllBlockByState();

    List<AcsBlockStatInfoVO> listStatBlcokInfo(@Param(value = "companyId") String companyId);

    List getBlockInfoList(@Param(value = "blockIdArr")String[] blockIdArr);

}